﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Runtime.Serialization;
using System.Text;


namespace Model
{
    [DataContract]
    public class DeviceInfo
    {
        
        [DataMember]
        public string IpAddress { get; set; }

        [DataMember]
        public int Type { get; set; }

        [DataMember]
        public string Emi { get; set; }

        [DataMember]
        public string PhoneNumber { get; set; }

        [DataMember]
        public string Password { get; set; }

        [DataMember]
        public double Lat { get; set; }

        [DataMember]
        public double Lng { get; set; }

        [DataMember]
        public float Speed { get; set; }

        [DataMember]
        public float Angle { get; set; }

        [DataMember]
        public byte State { get; set; }

        [DataMember]
        public DateTime UpdateTime { get; set; }

        [DataMember]
        public DateTime RegistTime { get; set; }
         
    }
}
